package com.qumitech.visualnovel.datasource.editor;

import java.util.*;
import com.qumitech.visualnovel.model.dao.editor.AuthorPolicyDAO;
import com.qumitech.visualnovel.model.dto.AuthorPolicyQueryDTO;

public interface AuthorPolicyDAOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AuthorPolicyDAO record);

    int insertSelective(AuthorPolicyDAO record);

    AuthorPolicyDAO selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AuthorPolicyDAO record);

    int updateByPrimaryKey(AuthorPolicyDAO record);

    AuthorPolicyDAO getDefaultPolicy(String contractType);

    int total(AuthorPolicyQueryDTO param);

    List<AuthorPolicyDAO> list(AuthorPolicyQueryDTO param);
}